package com.jyniubi.sms.feign.fallback;

import com.jyniubi.base.result.R;
import com.jyniubi.sms.feign.ServiceCoreClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class ServiceCoreFallback implements ServiceCoreClient {
    @Override
    public R checkMobile(String phone) {
        log.error("验证手机号码重复注册失败：mobile = " + phone);
        return R.error();
    }
}
